home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 May / CMCD0504.ISO / Software / Freeware / Programare / dspack / DSPACK231.exe / {app} / include / wmnetsourcecreator.h < prev    next >
Encoding:
C/C++ Source or Header  |  2002-10-27  |  11.5 KB  |  366 lines

  1.  
  2.  
  3. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  4.  
  5.  
  6.  /* File created by MIDL compiler version 6.00.0361 */
  7. /* Compiler settings for wmnetsourcecreator.idl:
  8.     Oicf, W1, Zp8, env=Win32 (32b run)
  9.     protocol : dce , ms_ext, c_ext, robust
  10.     error checks: allocation ref bounds_check enum stub_data 
  11.     VC __declspec() decoration level: 
  12.          __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  13.          DECLSPEC_UUID(), MIDL_INTERFACE()
  14. */
  15. //@@MIDL_FILE_HEADING(  )
  16.  
  17. #pragma warning( disable: 4049 )  /* more than 64k source lines */
  18.  
  19.  
  20. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  21. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  22. #define __REQUIRED_RPCNDR_H_VERSION__ 475
  23. #endif
  24.  
  25. #include "rpc.h"
  26. #include "rpcndr.h"
  27.  
  28. #ifndef __RPCNDR_H_VERSION__
  29. #error this stub requires an updated version of <rpcndr.h>
  30. #endif // __RPCNDR_H_VERSION__
  31.  
  32. #ifndef COM_NO_WINDOWS_H
  33. #include "windows.h"
  34. #include "ole2.h"
  35. #endif /*COM_NO_WINDOWS_H*/
  36.  
  37. #ifndef __wmnetsourcecreator_h__
  38. #define __wmnetsourcecreator_h__
  39.  
  40. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  41. #pragma once
  42. #endif
  43.  
  44. /* Forward Declarations */ 
  45.  
  46. #ifndef __INSNetSourceCreator_FWD_DEFINED__
  47. #define __INSNetSourceCreator_FWD_DEFINED__
  48. typedef interface INSNetSourceCreator INSNetSourceCreator;
  49. #endif     /* __INSNetSourceCreator_FWD_DEFINED__ */
  50.  
  51.  
  52. /* header files for imported files */
  53. #include "oaidl.h"
  54.  
  55. #ifdef __cplusplus
  56. extern "C"{
  57. #endif 
  58.  
  59. void * __RPC_USER MIDL_user_allocate(size_t);
  60. void __RPC_USER MIDL_user_free( void * ); 
  61.  
  62. /* interface __MIDL_itf_wmnetsourcecreator_0000 */
  63. /* [local] */ 
  64.  
  65. //+-------------------------------------------------------------------------
  66. //
  67. //  Microsoft Windows Media
  68. //  Copyright (C) Microsoft Corporation. All rights reserved
  69. //
  70. //  Automatically generated by Midl from WMNetSourceCreator.idl
  71. //
  72. // DO NOT EDIT THIS FILE.
  73. //
  74. //--------------------------------------------------------------------------
  75. EXTERN_GUID( CLSID_ClientNetManager, 0xCD12A3CE,0x9C42,0x11D2,0xBE,0xED,0x00,0x60,0x08,0x2F,0x20,0x54  );
  76. EXTERN_GUID( IID_INSNetSourceCreator, 0x0C0E4080,0x9081,0x11d2,0xBE,0xEC,0x00,0x60,0x08,0x2F,0x20,0x54  );
  77.  
  78. typedef unsigned __int64 QWORD;
  79.  
  80.  
  81.  
  82. extern RPC_IF_HANDLE __MIDL_itf_wmnetsourcecreator_0000_v0_0_c_ifspec;
  83. extern RPC_IF_HANDLE __MIDL_itf_wmnetsourcecreator_0000_v0_0_s_ifspec;
  84.  
  85. #ifndef __INSNetSourceCreator_INTERFACE_DEFINED__
  86. #define __INSNetSourceCreator_INTERFACE_DEFINED__
  87.  
  88. /* interface INSNetSourceCreator */
  89. /* [unique][version][uuid][object] */ 
  90.  
  91.  
  92. EXTERN_C const IID IID_INSNetSourceCreator;
  93.  
  94. #if defined(__cplusplus) && !defined(CINTERFACE)
  95.     
  96.     MIDL_INTERFACE("0C0E4080-9081-11d2-BEEC-0060082F2054")
  97.     INSNetSourceCreator : public IUnknown
  98.     {
  99.     public:
  100.         virtual HRESULT STDMETHODCALLTYPE Initialize( void) = 0;
  101.         
  102.         virtual HRESULT STDMETHODCALLTYPE CreateNetSource( 
  103.             /* [in] */ LPCWSTR pszStreamName,
  104.             /* [in] */ IUnknown *pMonitor,
  105.             /* [in] */ BYTE *pData,
  106.             /* [in] */ IUnknown *pUserContext,
  107.             /* [in] */ IUnknown *pCallback,
  108.             /* [in] */ QWORD qwContext) = 0;
  109.         
  110.         virtual HRESULT STDMETHODCALLTYPE GetNetSourceProperties( 
  111.             /* [in] */ LPCWSTR pszStreamName,
  112.             /* [out] */ IUnknown **ppPropertiesNode) = 0;
  113.         
  114.         virtual HRESULT STDMETHODCALLTYPE GetNetSourceSharedNamespace( 
  115.             /* [out] */ IUnknown **ppSharedNamespace) = 0;
  116.         
  117.         virtual HRESULT STDMETHODCALLTYPE GetNetSourceAdminInterface( 
  118.             /* [in] */ LPCWSTR pszStreamName,
  119.             /* [out] */ VARIANT *pVal) = 0;
  120.         
  121.         virtual HRESULT STDMETHODCALLTYPE GetNumProtocolsSupported( 
  122.             /* [out] */ DWORD *pcProtocols) = 0;
  123.         
  124.         virtual HRESULT STDMETHODCALLTYPE GetProtocolName( 
  125.             /* [in] */ DWORD dwProtocolNum,
  126.             /* [out] */ WCHAR *pwszProtocolName,
  127.             /* [out][in] */ WORD *pcchProtocolName) = 0;
  128.         
  129.         virtual HRESULT STDMETHODCALLTYPE Shutdown( void) = 0;
  130.         
  131.     };
  132.     
  133. #else     /* C style interface */
  134.  
  135.     typedef struct INSNetSourceCreatorVtbl
  136.     {
  137.         BEGIN_INTERFACE
  138.         
  139.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  140.             INSNetSourceCreator * This,
  141.             /* [in] */ REFIID riid,
  142.             /* [iid_is][out] */ void **ppvObject);
  143.         
  144.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  145.             INSNetSourceCreator * This);
  146.         
  147.         ULONG ( STDMETHODCALLTYPE *Release )( 
  148.             INSNetSourceCreator * This);
  149.         
  150.         HRESULT ( STDMETHODCALLTYPE *Initialize )( 
  151.             INSNetSourceCreator * This);
  152.         
  153.         HRESULT ( STDMETHODCALLTYPE *CreateNetSource )( 
  154.             INSNetSourceCreator * This,
  155.             /* [in] */ LPCWSTR pszStreamName,
  156.             /* [in] */ IUnknown *pMonitor,
  157.             /* [in] */ BYTE *pData,
  158.             /* [in] */ IUnknown *pUserContext,
  159.             /* [in] */ IUnknown *pCallback,
  160.             /* [in] */ QWORD qwContext);
  161.         
  162.         HRESULT ( STDMETHODCALLTYPE *GetNetSourceProperties )( 
  163.             INSNetSourceCreator * This,
  164.             /* [in] */ LPCWSTR pszStreamName,
  165.             /* [out] */ IUnknown **ppPropertiesNode);
  166.         
  167.         HRESULT ( STDMETHODCALLTYPE *GetNetSourceSharedNamespace )( 
  168.             INSNetSourceCreator * This,
  169.             /* [out] */ IUnknown **ppSharedNamespace);
  170.         
  171.         HRESULT ( STDMETHODCALLTYPE *GetNetSourceAdminInterface )( 
  172.             INSNetSourceCreator * This,
  173.             /* [in] */ LPCWSTR pszStreamName,
  174.             /* [out] */ VARIANT *pVal);
  175.         
  176.         HRESULT ( STDMETHODCALLTYPE *GetNumProtocolsSupported )( 
  177.             INSNetSourceCreator * This,
  178.             /* [out] */ DWORD *pcProtocols);
  179.         
  180.         HRESULT ( STDMETHODCALLTYPE *GetProtocolName )( 
  181.             INSNetSourceCreator * This,
  182.             /* [in] */ DWORD dwProtocolNum,
  183.             /* [out] */ WCHAR *pwszProtocolName,
  184.             /* [out][in] */ WORD *pcchProtocolName);
  185.         
  186.         HRESULT ( STDMETHODCALLTYPE *Shutdown )( 
  187.             INSNetSourceCreator * This);
  188.         
  189.         END_INTERFACE
  190.     } INSNetSourceCreatorVtbl;
  191.  
  192.     interface INSNetSourceCreator
  193.     {
  194.         CONST_VTBL struct INSNetSourceCreatorVtbl *lpVtbl;
  195.     };
  196.  
  197.     
  198.  
  199. #ifdef COBJMACROS
  200.  
  201.  
  202. #define INSNetSourceCreator_QueryInterface(This,riid,ppvObject)    \
  203.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  204.  
  205. #define INSNetSourceCreator_AddRef(This)    \
  206.     (This)->lpVtbl -> AddRef(This)
  207.  
  208. #define INSNetSourceCreator_Release(This)    \
  209.     (This)->lpVtbl -> Release(This)
  210.  
  211.  
  212. #define INSNetSourceCreator_Initialize(This)    \
  213.     (This)->lpVtbl -> Initialize(This)
  214.  
  215. #define INSNetSourceCreator_CreateNetSource(This,pszStreamName,pMonitor,pData,pUserContext,pCallback,qwContext)    \
  216.     (This)->lpVtbl -> CreateNetSource(This,pszStreamName,pMonitor,pData,pUserContext,pCallback,qwContext)
  217.  
  218. #define INSNetSourceCreator_GetNetSourceProperties(This,pszStreamName,ppPropertiesNode)    \
  219.     (This)->lpVtbl -> GetNetSourceProperties(This,pszStreamName,ppPropertiesNode)
  220.  
  221. #define INSNetSourceCreator_GetNetSourceSharedNamespace(This,ppSharedNamespace)    \
  222.     (This)->lpVtbl -> GetNetSourceSharedNamespace(This,ppSharedNamespace)
  223.  
  224. #define INSNetSourceCreator_GetNetSourceAdminInterface(This,pszStreamName,pVal)    \
  225.     (This)->lpVtbl -> GetNetSourceAdminInterface(This,pszStreamName,pVal)
  226.  
  227. #define INSNetSourceCreator_GetNumProtocolsSupported(This,pcProtocols)    \
  228.     (This)->lpVtbl -> GetNumProtocolsSupported(This,pcProtocols)
  229.  
  230. #define INSNetSourceCreator_GetProtocolName(This,dwProtocolNum,pwszProtocolName,pcchProtocolName)    \
  231.     (This)->lpVtbl -> GetProtocolName(This,dwProtocolNum,pwszProtocolName,pcchProtocolName)
  232.  
  233. #define INSNetSourceCreator_Shutdown(This)    \
  234.     (This)->lpVtbl -> Shutdown(This)
  235.  
  236. #endif /* COBJMACROS */
  237.  
  238.  
  239. #endif     /* C style interface */
  240.  
  241.  
  242.  
  243. HRESULT STDMETHODCALLTYPE INSNetSourceCreator_Initialize_Proxy( 
  244.     INSNetSourceCreator * This);
  245.  
  246.  
  247. void __RPC_STUB INSNetSourceCreator_Initialize_Stub(
  248.     IRpcStubBuffer *This,
  249.     IRpcChannelBuffer *_pRpcChannelBuffer,
  250.     PRPC_MESSAGE _pRpcMessage,
  251.     DWORD *_pdwStubPhase);
  252.  
  253.  
  254. HRESULT STDMETHODCALLTYPE INSNetSourceCreator_CreateNetSource_Proxy( 
  255.     INSNetSourceCreator * This,
  256.     /* [in] */ LPCWSTR pszStreamName,
  257.     /* [in] */ IUnknown *pMonitor,
  258.     /* [in] */ BYTE *pData,
  259.     /* [in] */ IUnknown *pUserContext,
  260.     /* [in] */ IUnknown *pCallback,
  261.     /* [in] */ QWORD qwContext);
  262.  
  263.  
  264. void __RPC_STUB INSNetSourceCreator_CreateNetSource_Stub(
  265.     IRpcStubBuffer *This,
  266.     IRpcChannelBuffer *_pRpcChannelBuffer,
  267.     PRPC_MESSAGE _pRpcMessage,
  268.     DWORD *_pdwStubPhase);
  269.  
  270.  
  271. HRESULT STDMETHODCALLTYPE INSNetSourceCreator_GetNetSourceProperties_Proxy( 
  272.     INSNetSourceCreator * This,
  273.     /* [in] */ LPCWSTR pszStreamName,
  274.     /* [out] */ IUnknown **ppPropertiesNode);
  275.  
  276.  
  277. void __RPC_STUB INSNetSourceCreator_GetNetSourceProperties_Stub(
  278.     IRpcStubBuffer *This,
  279.     IRpcChannelBuffer *_pRpcChannelBuffer,
  280.     PRPC_MESSAGE _pRpcMessage,
  281.     DWORD *_pdwStubPhase);
  282.  
  283.  
  284. HRESULT STDMETHODCALLTYPE INSNetSourceCreator_GetNetSourceSharedNamespace_Proxy( 
  285.     INSNetSourceCreator * This,
  286.     /* [out] */ IUnknown **ppSharedNamespace);
  287.  
  288.  
  289. void __RPC_STUB INSNetSourceCreator_GetNetSourceSharedNamespace_Stub(
  290.     IRpcStubBuffer *This,
  291.     IRpcChannelBuffer *_pRpcChannelBuffer,
  292.     PRPC_MESSAGE _pRpcMessage,
  293.     DWORD *_pdwStubPhase);
  294.  
  295.  
  296. HRESULT STDMETHODCALLTYPE INSNetSourceCreator_GetNetSourceAdminInterface_Proxy( 
  297.     INSNetSourceCreator * This,
  298.     /* [in] */ LPCWSTR pszStreamName,
  299.     /* [out] */ VARIANT *pVal);
  300.  
  301.  
  302. void __RPC_STUB INSNetSourceCreator_GetNetSourceAdminInterface_Stub(
  303.     IRpcStubBuffer *This,
  304.     IRpcChannelBuffer *_pRpcChannelBuffer,
  305.     PRPC_MESSAGE _pRpcMessage,
  306.     DWORD *_pdwStubPhase);
  307.  
  308.  
  309. HRESULT STDMETHODCALLTYPE INSNetSourceCreator_GetNumProtocolsSupported_Proxy( 
  310.     INSNetSourceCreator * This,
  311.     /* [out] */ DWORD *pcProtocols);
  312.  
  313.  
  314. void __RPC_STUB INSNetSourceCreator_GetNumProtocolsSupported_Stub(
  315.     IRpcStubBuffer *This,
  316.     IRpcChannelBuffer *_pRpcChannelBuffer,
  317.     PRPC_MESSAGE _pRpcMessage,
  318.     DWORD *_pdwStubPhase);
  319.  
  320.  
  321. HRESULT STDMETHODCALLTYPE INSNetSourceCreator_GetProtocolName_Proxy( 
  322.     INSNetSourceCreator * This,
  323.     /* [in] */ DWORD dwProtocolNum,
  324.     /* [out] */ WCHAR *pwszProtocolName,
  325.     /* [out][in] */ WORD *pcchProtocolName);
  326.  
  327.  
  328. void __RPC_STUB INSNetSourceCreator_GetProtocolName_Stub(
  329.     IRpcStubBuffer *This,
  330.     IRpcChannelBuffer *_pRpcChannelBuffer,
  331.     PRPC_MESSAGE _pRpcMessage,
  332.     DWORD *_pdwStubPhase);
  333.  
  334.  
  335. HRESULT STDMETHODCALLTYPE INSNetSourceCreator_Shutdown_Proxy( 
  336.     INSNetSourceCreator * This);
  337.  
  338.  
  339. void __RPC_STUB INSNetSourceCreator_Shutdown_Stub(
  340.     IRpcStubBuffer *This,
  341.     IRpcChannelBuffer *_pRpcChannelBuffer,
  342.     PRPC_MESSAGE _pRpcMessage,
  343.     DWORD *_pdwStubPhase);
  344.  
  345.  
  346.  
  347. #endif     /* __INSNetSourceCreator_INTERFACE_DEFINED__ */
  348.  
  349.  
  350. /* Additional Prototypes for ALL interfaces */
  351.  
  352. unsigned long             __RPC_USER  VARIANT_UserSize(     unsigned long *, unsigned long            , VARIANT * ); 
  353. unsigned char * __RPC_USER  VARIANT_UserMarshal(  unsigned long *, unsigned char *, VARIANT * ); 
  354. unsigned char * __RPC_USER  VARIANT_UserUnmarshal(unsigned long *, unsigned char *, VARIANT * ); 
  355. void                      __RPC_USER  VARIANT_UserFree(     unsigned long *, VARIANT * ); 
  356.  
  357. /* end of Additional Prototypes */
  358.  
  359. #ifdef __cplusplus
  360. }
  361. #endif
  362.  
  363. #endif
  364.  
  365.  
  366.